<template>
  <div>
    <div>
      <router-view/>
    </div>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="apps-o">大厅
      </van-tabbar-item>
      <van-tabbar-item icon="contact">好友</van-tabbar-item>
      <van-tabbar-item icon="user-o">个人中心</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    }
  }
}
</script>
